package com.sikuli.appmanager;


import org.sikuli.script.FindFailed;
import org.sikuli.script.Pattern;
import org.sikuli.script.Screen;

public class ArticleHelper {
private ArticleHelper articleHelper;
static Screen screen = new Screen();

public static void openArticle(String articleName) throws FindFailed{
Pattern article = new Pattern(articleName);
screen.wait(article);
screen.click(article);
}

public static void setCursor(String emptyArticle) throws FindFailed{
Pattern article = new Pattern(emptyArticle);
screen.wait(article);
screen.click(article);
}

public static void openContextMenu(String emptyArticle) throws FindFailed{
	Pattern article = new Pattern(emptyArticle);
	screen.wait(article);
	screen.rightClick(article);
}




public ArticleHelper getArticleHelper() {
	return articleHelper;
}

}
